package day3.lesson07



class GranderFather
class Father extends GranderFather
class Son extends Father
class TongZhou
object Test {
  def getIDCard[R >: Son](person:R): Unit ={
    println("好吧，他的身份证就交给你保管了");
  }
  def main(args: Array[String]): Unit = {

   // getIDCard[GranderFather](new TongZhou)

  }

}
